using System;
using System.Collections.Generic;
using System.Text;
using BusinessObjects.BO_Actions;
using Entity.StoreProcedure;
using BusinessObjects;
using System.Data;
namespace BusinessObjects.BO_GetObjects {
	public static class BO_portal_members_follow_members {
		public static DataTable SelectAll() {
			try {
				usp_portal_members_follow_members_select_all entity = new usp_portal_members_follow_members_select_all();

				return BO_Actions<usp_portal_members_follow_members_select_all>.ExecuteAndReturnDataTable(entity);
			} catch (Exception ex) {
				throw ex;
			}
		}
		public static DataTable SelectTop(int rows) {
			try {
				usp_portal_members_follow_members_select_top entity = new usp_portal_members_follow_members_select_top();
				entity.NUMBERRECORD = rows;

				return BO_Actions<usp_portal_members_follow_members_select_top>.ExecuteAndReturnDataTable(entity);
			} catch (Exception ex) {
				throw ex;
			}
		}
		public static string Insert( Int64 member_id, Int64 follow_member) {
			try {
				usp_portal_members_follow_members_insert entity = new usp_portal_members_follow_members_insert();
                entity.MEMBER_ID = member_id;
                entity.FOLLOW_MEMBER = follow_member;

				return BO_Actions<usp_portal_members_follow_members_insert>.ExecuteAndReturnStringValue(entity);
			} catch (Exception ex) {
				throw ex;
			}
		}
	}
}

